package com.vhall.component.entity.chat.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author xianglei
 * @date 2021/5/8 16:42
 */
@Data
public class AuditListsToPaasDto implements Serializable {
    private static final long serialVersionUID = -1733645755406488259L;

    @JsonProperty("app_id")
    private String appId;

    @JsonProperty("channel")
    private String channel;

    @JsonProperty("room_id")
    private String roomId;

    @JsonProperty("service_type")
    private String serviceType;

    @JsonProperty("service_im")
    private String serviceIm;

    @JsonProperty("msg_source")
    private String msgSource;

    @JsonProperty("bu")
    private String bu;

    @JsonProperty("sender_id")
    private Integer senderId;

    @JsonProperty("no_audit")
    private Integer noAudit;

    @JsonProperty("type")
    private String type;

    @JsonProperty("client")
    private String client;

    @JsonProperty("time")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;

    @JsonProperty("data")
    private String data;

    @JsonProperty("context")
    private String context;
}
